package exceptiontest;

public class XLessThanZeroException extends Exception{
    double y;
    XLessThanZeroException (double y) {
        this.y = y;
    }
    public String getInfo() {
        return y + "is too small";
    }
}
